package com.doudou.pay.helper.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.doudou.pay.helper.entities.PayUser;

public interface PayUserMapper{
	public int insert(PayUser payuser);
	public int update(PayUser payuser);
	public PayUser selectById(PayUser payuser);
	public List<PayUser> select(PayUser payuser);
	public int selectCount(PayUser payuser);
	
	public List<PayUser> selectPayUserByUserId(@Param("userId")String userId);
	public PayUser selectPayUserByAuthToken(@Param("authToken")String authToken);
	
	public int updateNotifyAddress(@Param("authToken")String authToken,@Param("notifyAddress") String notifyAddress);
}
